package com.yhy.wxzn.wms.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yhy.wxzn.common.enums.WmsOrderStatusEnums;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 收货明细表
 * @Author: jeecg-boot
 * @Date:   2023-11-01
 * @Version: V1.0
 */
@Data
@TableName("wms_asn_detail")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wms_asn_detail对象", description="收货明细表")
public class WmsAsnDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**ASN单号*/
	@Excel(name = "ASN单号", width = 15)
    @ApiModelProperty(value = "ASN单号")
    private java.lang.String asnId;
	/**行号*/
	@Excel(name = "行号", width = 15)
    @ApiModelProperty(value = "行号")
    private java.lang.Integer lineNo;
	/**物料*/
	@Excel(name = "物料", width = 15)
    @ApiModelProperty(value = "物料")
    private java.lang.String itemId;
    private transient java.lang.String itemCode;
    private transient java.lang.String itemName;
    @Dict(dicCode = "wms_base_unit")
    private transient java.lang.String baseUnit;
	/**已分配数量*/
	@Excel(name = "已分配数量", width = 15)
    @ApiModelProperty(value = "已分配数量")
    private BigDecimal allocateQty;
	/**收货数量*/
	@Excel(name = "收货数量", width = 15)
    @ApiModelProperty(value = "收货数量")
    private BigDecimal receivedQty;
	/**已上架数量*/
	@Excel(name = "已上架数量", width = 15)
    @ApiModelProperty(value = "已上架数量")
    private BigDecimal movedQty;
    /**已过账数量*/
    @Excel(name = "已过账数量", width = 15)
    @ApiModelProperty(value = "已过账数量")
    private BigDecimal syncQty;
	/**收货日期*/
	@Excel(name = "收货日期", width = 15)
    @ApiModelProperty(value = "收货日期")
    private java.util.Date lot01;
	/**销售单*/
	@Excel(name = "销售单", width = 15)
    @ApiModelProperty(value = "销售单")
    private java.lang.String lot02;
	/**供应商代码*/
	@Excel(name = "供应商代码", width = 15)
    @ApiModelProperty(value = "供应商代码")
    private java.lang.String lot03;
	/**ERP代码*/
	@Excel(name = "ERP代码", width = 15)
    @ApiModelProperty(value = "ERP代码")
    private java.lang.String lot04;
	/**等级*/
	@Excel(name = "等级", width = 15)
    @ApiModelProperty(value = "等级")
    private java.lang.String lot05;
	/**档次*/
	@Excel(name = "档次", width = 15)
    @ApiModelProperty(value = "档次")
    private java.lang.String lot06;
	/**SN号*/
	@Excel(name = "SN号", width = 15)
    @ApiModelProperty(value = "SN号")
    private java.lang.String lot07;
	/**需求数量*/
	@Excel(name = "需求数量", width = 15)
    @ApiModelProperty(value = "需求数量")
    private BigDecimal demonQty;
	/**托盘号*/
	@Excel(name = "托盘号", width = 15)
    @ApiModelProperty(value = "托盘号")
    private java.lang.String palletNo;
	/**箱号*/
	@Excel(name = "箱号", width = 15)
    @ApiModelProperty(value = "箱号")
    private java.lang.String boxNo;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsOrderStatusEnums}
     * */
    @Dict(dicCode = "wms_order_status")
    private java.lang.Integer detailStatus;
	/**过账状态*/
	@Excel(name = "过账状态", width = 15)
    @ApiModelProperty(value = "过账状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsSyncStatusEnums}
     * */
    @Dict(dicCode = "wms_sync_status")
    private java.lang.Integer syncStatus;
    /**分配状态*/
    @Excel(name = "分配状态", width = 15)
    @ApiModelProperty(value = "分配状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsOrderStatusEnums}
     * */
    @Dict(dicCode = "wms_order_status")
    private java.lang.Integer allocateStatus;
    /**上架状态*/
    @Excel(name = "上架状态", width = 15)
    @ApiModelProperty(value = "上架状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsOrderStatusEnums}
     * */
    @Dict(dicCode = "wms_order_status")
    private java.lang.Integer putAwayStatus;
    /**收货输入数量*/
    private transient BigDecimal inputReceiveQty;
}
